var PATH_PREFIX ="";

function setPathPrefix(path){
	PATH_PREFIX =  path;
}
function submitForm() {
	SubmitAndPreventSecond("hotNewsInfoForm",function(){
		//获取附件ID
		var url = PATH_PREFIX + "saveHotNewsAttachs.do";
		$("#hotNewsInfoForm").attr("action",url);
	});
}

$(function() {
	watermark({
		watermark_txt: current_name + " " + new DateUtils().getCurrentDate()
	});
});